module.exports = {
  path: 'home',
  data: { title: '首页'},
  indexRoute: {onEnter: (nextState, replace)=> replace('/')},
  childRoutes: [{
      path: 'index',
      data: {title: '首页'},
      getComponent(nextState, cb) {
        require.ensure([], (require) => {
          cb(null, require('../containers/Home/index'))
        })
      }
    }
  ]
}
